<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>店铺管理</title>
		<!--[if lt IE 9]>
    <script src="js/html5shiv.min.js"></script>
    <script src="js/respond.min.js"></script>
    <![endif]-->
		<link href="css/common.css" rel="stylesheet">
		<link rel="stylesheet" href="css/css.css" />
		<script src="js/jquery.min.js"></script>
		<script src="js/level.js"></script>
	</head>
	<body>
		
	<div class="guanli fl">
		<dl>
			<dd class="mren"><a href="store_manage.html"><span>店铺管理</span></a></dd>
			<dd><a href="Invoice_application.html"><span>发票申请</span></a></dd>
			<dd><a href="Material_request.html"><span>物料申请</span></a></dd>
			<dd><a href="Vendor_audit.html"><span>子商户审核</span></a></dd>
		</dd>
	</div>
	
	<div class="shop fl">
		<div class="shop_type">
			<div class="shop_search fl">
				<input type="text"  name="" id="" placeholder="店铺名，部署人" />
				<input type="button" name="" id="" value="" class="iconfont icon-sousuo"/>
			</div>
			<div class="cha_div1 fl">
				<span>部署时间：</span>
				<input type="text" class="x_text"><i>年</i><input type="text" class="x_text"><i>月</i>
			</div>
			<div class="cha_div1 fl"><input type="submit"  value="搜索" class="x_submit"/></div>
		</div>
		<div class="concter">
			<div class="title">
				<div>店铺名称</div>
				<div>部署时间</div>
				<div>店铺地址</div>
				<div>联系人</div>
				<div>部署人</div>
				<div>到期时间</div>
			</div>
		</div>

		<div class="order_box">
			<div class="title1">
					<div>漂亮宝贝</div>
					<div>2017-08-29 18:58</div>
					<div><span class="wenb">湖南长沙雨花区万象美域1栋1114室</span><em class="xiug">修改</em></div>
					<div><span class="wenb">何银</span><span class="wenb">13501250694</span><em class="xiug">修改</em></div>
					<div>
						<span class="wenb">何银呀</span><em class="xiug">修改</em>
					</div>
					<div>2017-08-29 18:58</div>
			</div>
		</div>
		
		<!-- 分页  -->
		<div class="pagenation">
			<a href="javascript:;" class="prev"><</a>
			<span class="current">1</span>
			<span>2</span>
			<span>3</span>
			<span>4</span>
			<a href="javascript:;" class="next">></a>
		</div>
		<!-- 分页 END -->
		
	</div>
	
	<script>
	$(".xiug").prop('data',true)
	
	$(".xiug").click(function(){
		var dom = $(this).prevAll('.wenb');
		var txt = [], Input;
		for (var i = 0; i < dom.length; i++) {
			txt.push($(dom[i]).text());
		}
		
		if($(this).prop('data')){
			for (var i = 0; i < dom.length; i++) {
				Input = "<input type='text' value='"+txt[i]+"' class='text'/>";
				$(dom[i]).html(Input);
			}
			$(this).html("确定").prop('data',false);
		}else {
			for (var i = 0; i < dom.length; i++) {
				var val = $(dom[i]).find('input').val();
				$(dom[i]).html(val);
			}
			$(this).html("修改").prop('data',true);
		};
	})
	</script>
	
	</body>
</html>
